package com.amani.module.medical_supplies.fallback;

import com.amani.module.medical_supplies.feign.IGroupService;
import com.github.wxiaoqi.security.api.vo.group.GroupInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;


@Service
@Slf4j
public class GroupServiceFallback implements IGroupService {
    @Override
    //public List<GroupInfo> getGroupsByUserId(@PathVariable("userId") int userId) {
    public List<GroupInfo> getGroupsByUserId() {
        log.error("调用{}异常{}","getGroupsByUserId");
        return null;
    }
}
